* {
    padding: 0;
    margin: 0;
}

//版心
.container {
    width: 1200px;
    margin: auto;
    // background-color: pink;
}

//清除浮动
.clearfix::after {
    display: block;
    content: '';
    clear: both;
    height: 0;
}

.clearfix {
    zoom: 1;
}

//去除li样式
ul li {
    list-style: none;
}

//顶部
header {
    margin-top: 60px;
    margin-bottom: 30px;

    //头部log
    .top {
        .leftlog {
            float: left;
            width: 350px;

            span {
                display: block;
                width: 100px;
                height: 100px;
                border-radius: 10px;
                font-size: 70px;
                background-color: rgb(255, 216, 0);
                color: rgb(56, 25, 10);
                text-align: center;
                line-height: 100px;
                float: left;
                margin-right: 20px;
            }

            h5 {
                font-size: 38px;
                font-family: '楷体';
                margin-top: 20px;
            }
        }

        //头部搜索
        .sousuo {
            float: left;
            width: 626px;
            margin: 25px auto;
            position: relative;

            input {
                width: 586px;
                height: 44px;
                border-radius: 66px;
                padding-left: 40px;
            }

            span {
                position: absolute;
                top: 14px;
                left: 14px;
                z-index: 100;
                font-size: 22px;
            }

            div {
                position: absolute;
                top: 1px;
                right: -2px;
                width: 155px;
                height: 45px;
                border: 0px;
                background-color: rgb(254, 228, 78);
                border-radius: 55px;
                text-align: center;
                line-height: 44px;
                cursor: pointer;
            }

        }

        //右侧图标
        .rightnav {
            float: left;
            margin-left: 20px;
            margin-top: 25px;

            ul {
                float: right;

                li {
                    float: left;
                    list-style: none;
                    margin-left: 10px;
                    text-align: center;

                    span {
                        font-size: 30px;
                        border: 0;
                        color: rgb(255, 116, 116);
                    }

                    div {
                        font-size: 10px;
                    }
                }
            }


        }
    }
}

//内容
main {
    margin-top: 40px;

    //导航
    .nav {
        width: 100%;
        max-width: 1800px;
        background-color: rgb(67, 36, 12);
        margin: auto;

        ul {
            float: left;

            li {
                float: left;
                width: 280px;
                height: 60px;
                z-index: 1;
                line-height: 60px;
                color: rgb(255, 255, 255);
                font-size: 20px;
                text-align: center;

                &:hover {
                    background-color: rgb(254, 228, 78);
                }

                cursor: pointer;
            }

            .firstli {
                background-color: rgb(254, 228, 78);
            }


        }
    }

    //详情
    .prodate {
        width: 860px;
        // background-color: pink;
        float: left;
        padding-top: 40px;
        padding-left: 20px;
        padding-right: 20px;

        // position: relative;
        .bigjin {
            float: left;
            margin-right: 20px;
            position: relative;

            .swiper {
                width: 300px;
                height: 300px;
                float: left;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            .mask {
                position: absolute;
                top: 0;
                left: 0;
                width: 150px;
                height: 150px;
                background-color: rgba(255, 255, 0, .3);
                pointer-events: none;
                z-index: 10;
                display: none;
            }

            .right-box {
                position: absolute;
                top: 0;
                left: 300px;
                z-index: 1;
                width: 300px;
                height: 300px;
                overflow: hidden;
                opacity: 0;
                img {
                    width: 600px;
                    height: 600px;
                    position: absolute;
                    top: 0;
                    left: 0;
                }

            }

            .smilimg {
                ul {
                    float: left;

                    li {
                        float: left;
                        margin-left: 12px;
                        margin-right: 12px;
                        cursor: pointer;

                        img {
                            width: 50px;
                            height: 50px;
                        }
                    }
                }
            }
        }

        //介绍
        .jiesao {

            // margin-left: 20px;
            span:nth-child(1) {
                background-color: rgb(255, 85, 1);
                color: #fff;
                // display: block;
                font-size: 25px;
                font-family: '楷体';
                // line-height: 25px;
                vertical-align: middle;
                margin-left: 5px;
            }

            span:nth-child(2) {
                border: 1px solid rgb(188, 186, 186);
                padding: 3px;
                border-radius: 5px;
                font-size: 13px;
                color: rgb(154, 143, 137);
                vertical-align: middle;
                margin-left: 5px;
            }

            span:nth-child(3) {
                vertical-align: middle;
                font-size: 24px;
                margin-left: 5px;
            }
        }

        .jiege {
            margin-top: 30px;
            width: 520px;
            height: 80px;
            background-color: rgb(245, 245, 245);
            margin-left: 326px;
            padding: 10px;
            padding-left: 20px;

            div:nth-child(1) {
                color: rgb(177, 169, 165);
                font-size: 15px;
                text-decoration: line-through;
            }

            div:nth-child(2) {
                color: rgb(250, 88, 90);
                font-size: 20px;

                span {
                    font-size: 25px;
                }

                float: left;
                margin-top: 20px;
            }

            div:nth-child(3) {
                float: right;
                color: rgb(101, 100, 100);
                margin-top: 30px;
                margin-right: 20px;
            }

        }

        a {
            // display: block;
            background-color: rgb(250, 88, 90);
            padding: 20px;
            border-radius: 10px;
            float: right;
            margin-top: 20px;
            text-decoration: none;
            color: #fff;
            font-size: 20px;
        }

    }

    //商家信息
    .shangjia {
        float: right;
        width: 300px;


        h6 {
            text-align: center;
            line-height: 60px;
            font-size: 20px;
            background: linear-gradient(rgb(220, 207, 65) 0%, rgb(255, 255, 255) 100%);
        }

        img {
            width: 200px;
            height: 200px;
            display: block;
            margin: auto;
        }

        div {
            text-align: center;
            margin-bottom: 30px;
        }

        .sjul {
            margin-top: 30px;
            width: 156px;
            margin: auto;

            li {
                float: left;
                margin-left: 10px;
                margin-right: 10px;
                text-align: center;

                div {
                    margin-top: 10px;
                }

                div:nth-child(2) {
                    color: rgb(251, 149, 71);
                }
            }
        }
    }
}